<?php 
  if (!isset($_SESSION))
    session_start();
  
  if(empty($_SESSION)){
    header("Location: TelaLogin.php");
  }

  if ( empty($_SESSION['nome']) || empty($_SESSION['apelido']) || empty($_SESSION['email']) ){
    header("Location: TelaLogin.php");
  }
?>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="">
  <meta name="author" content="">
  <link rel="icon" href="">

  <title>Projeto Receita</title>

  <link rel="stylesheet" href="css/bootstrap.min.css">
  <link rel="stylesheet" href="css/selectize.css">
  <link rel="stylesheet" href="css/style.css">
  
</head>